package com.lkbaby.strategy;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class UserStrategy implements Strategy {
	@Override
	public BigDecimal getDiscount(BigDecimal total) {
		return total.multiply(new BigDecimal("0.1")).setScale(2, RoundingMode.HALF_UP);
	}
}
